export {}

function fun1 (a:number=10,b?:number,...rest:number[]):string{
  return 'fun1'
}
fun1(100)

const fun2:(a:number,b?:number,...rest:number[])=>string = function(a:number=10,b?:number,...rest:number[]){
  return 'fun1'
}